home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Tools (InfoMagic)
/
Internet Tools.iso
/
dos_win
/
winsock
/
maillist
/
94-05.Z
/
94-05
/
000106_news@bigblue.oit.unc.edu_Fri May 6 14:34:11 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-31
|
24KB
Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AA12062; Sun, 8 May 1994 09:14:44 -0400
Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
id AA13999; Sun, 8 May 1994 08:54:11 -0400
Received: from GATEWAY by bigblue with netnews
for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
To: winsock@sunsite.unc.edu
Date: Fri, 6 May 1994 19:34:11 EST
From: alwang@eniac.seas.upenn.edu (Random)
Message-Id: <alwang.78.01AB2498@eniac.seas.upenn.edu>
Organization: Just kinda out there....
Sender: ses
Subject: Another WinTrump "extract" question...
Is there any way you can _stop_ it from automatically viewing or running the
file WinTrump extracts? Besides removing the association? It gets rather
annoying, but since Wintrump didn't come with an updated help...
Random
__________________________________________________
R a n d o m.
alwang@eniac.seas.upenn.edu.
http://www.seas.upenn.edu/~alwang/al.html.
"If you're not part of the solution, you're part of
the precipitate."
-Stephen Wright.
From news@bigblue.oit.unc.edu Sat May 7 00:16:30 1994
Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AB12071; Sun, 8 May 1994 09:14:46 -0400
Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
id AA23677; Sun, 8 May 1994 08:50:55 -0400
Received: from GATEWAY by bigblue with netnews
for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
To: winsock@sunsite.unc.edu
Date: Sat, 7 May 1994 00:16:30 GMT
From: jacquet6@cti.ecp.fr (Thomas JACQUES)
Message-Id: <HDIOBEYH@math.fu-berlin.de>
Organization: ECP (France)
Sender: ses
Subject: Re: shareware X-emulator for IBM-PC ?
In article <Cp7K9x.9EA@zeno.fit.edu> perlman@cs.fit.edu (Marshal Perlman [ARCS]) writes:
>On 2 May 1994 11:57:50 +0200, Jean-Paul.ROY (roy@taloa.unice.fr) wrote:
>
>: Can somebody tell me where I can find (if any) shareware
>: X-windows emulator for my IBM-PC 80486 8Mb with Ethernet card
>: hooked to a DEC mainframe ? Thanks,
>: Jean-Paul ROY
>: roy@unice.fr
>
>Look for XWINDEMO by Starnet... They have a great IDEA... a small
>simple X program that works great... and on top of that it is DIRT CHEAP.
>
>The demo is a full functioning copy -- so what you buy is what you see.
>
>
>
>--
> |o| Marshal Perlman Internet/MIME: perlman@zeno.fit.edu |o|
> |o| Academic and Research Computing Services (ARCS) IRC: Squawk |o|
> |o| Florida Institute of Technology FAA: PP-ASEL |o|
> |o| Pager: 407/455-4809 Member: AOPA/AAAE/Goodyear Blimp Club |o|
> |o| *My Uniform Resource Locator is: http://sci-ed.fit.edu/~perlman |o|
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> Marshal Perlman -- Information Super-Highway Patrol Officer
From news@bigblue.oit.unc.edu Sun May 8 09:44:44 1994
Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AA14787; Sun, 8 May 1994 09:44:44 -0400
Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
id AA13967; Sun, 8 May 1994 09:33:03 -0400
Received: from GATEWAY by bigblue with netnews
for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
To: winsock@sunsite.unc.edu
Date: 6 May 94 17:50:11
From: hatzakis@CAMIS.Stanford.EDU (Michael Hatzakis)
Message-Id: <HATZAKIS.94May6175011@CAMIS.Stanford.EDU>
Organization: DSO, Stanford University
Sender: ses
Subject: Trouble with Trumpet Winsock vs. Win 3.11
I am having some trouble with the Trumpet winsock and windows version 3.11
Using help from people here on campus, I have managed to connect
successfully to a SLIP server and can log in and receive an IP address.
Two troubles I am having, one is that when I initialize, I get an
invalid baud rate message and in the acknowlegements that follow my
TCPMAN initialization, I get baud rate = 0. I can log in fine. I
then minimize my TCPMAN session and try PING or MOSAIC or other
programs and nothing happens. I know little about the campatibility
between applications, ie., PING or MOSAIC and the SLIP layer, which I
seem to have running.
Would really appreciate help. Especially if you use the Trumpet
package, use a SLIP connect and use windows. Would be curious to see
what combination of components you use to ghet it working.
Thanks, reply to HATZAKIS @ CAMIS.STANFORD.EDU
From news@bigblue.oit.unc.edu Sun May 8 10:14:44 1994
Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AA18453; Sun, 8 May 1994 10:14:44 -0400
Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
id AA27922; Sun, 8 May 1994 09:53:14 -0400
Received: from GATEWAY by bigblue with netnews
for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
To: winsock@sunsite.unc.edu
Date: Fri, 6 May 1994 22:43:03
From: fletcher@atlas.cs.upei.ca (Scott Fletcher)
Message-Id: <fletcher.34.0016B85D@atlas.cs.upei.ca>
Organization: PEINet
Sender: ses
References: <2qbr71$omk@apakabar.cc.columbia.edu>
Subject: Re: Trumpet News Reader
James writes...
>In general, I like this News Reader. However, I experience two problems.
>First, I can not post. I am able to reply to someone but anytime I try to
>either post a new article or follow up, my post is rejected. I am
>able to post from my campus account to that newsgroup when I telnet and use
>the trn newsreader.
Hi Jim,
You might want to check your system clock. If your clock is off by a few
years, then your not going to be able to post anything. I recently had the
same problem. After installing a larger hard drive and a new video card I
tried to post news and it just wouldn't let me. After great hours of
frustration I discovered that the system clock in my bios had set itself to
1989 and as a result my newsreader would not allow any articles to be posted
because of the discrepancy in time. It's just a hunch but check it out.
Scott Fletcher
From news@bigblue.oit.unc.edu Fri May 6 22:58:42 1994
Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AA21786; Sun, 8 May 1994 10:44:44 -0400
Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
id AA25071; Sun, 8 May 1994 10:28:47 -0400
Received: from GATEWAY by bigblue with netnews
for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
To: winsock@sunsite.unc.edu
Date: Fri, 6 May 1994 22:58:42 +0000
From: steve@rigel.demon.co.uk (Steve Horsley)
Message-Id: <768265122snz@rigel.demon.co.uk>
Organization: Home
Sender: ses
Reply-To: steve@rigel.demon.co.uk
Subject: Winsock for token ring?
Does anyone know of a winsock that will work with a token ring card?
I tried the following stack:
TCPMAN (Trumpet Winsock)
Windows
WINPKT (multi-thread driver adapter, I understand)
ODIPKT (ODI to packet driver adapter)
OCTOK16 (Olicom token ring ODI driver)
But TCPMAN says it only likes class 1 (blue book whatever that is) or
class 6 (ethernet framing) drivers. It seems that token ring is class 3.
I just heard of a Novell winsock. Might that do the trick?
I would very much like to use the Olicom ODI driver at the bottom.
Thanks in advance...
Steve.
--
Steve Horsley steve@rigel.demon.co.uk
From news@bigblue.oit.unc.edu Wed May 7 01:06:35 1994
Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AB21794; Sun, 8 May 1994 10:44:46 -0400
Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
id AA28088; Sun, 8 May 1994 10:21:48 -0400
Received: from GATEWAY by bigblue with netnews
for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
To: winsock@sunsite.unc.edu
Date: 7 May 1994 01:06:35 GMT
From: ywliu@beta.wsl.sinica.edu.tw ()
Message-Id: <2qepir$8va@mall.sinica.edu.tw>
Organization: Computing Center, Academia Sinica
Sender: ses
Subject: [FAQ]: Winsock FAQ is here ....
Hello everyone,
A lot of people keep asking where the FAQ is. The following is
the Winsock FAQ I got from sunsite.unc.edu. However, it hasn't been updated
for a period of time. But I think it still can give you a lot of help.
--
Yen-Wei Liu
Computing Centre
Academia Sinica
Taipei, Taiwan
------------------------------------------------------------------------------
Frequently Asked Questions About
Windows Sockets Version 1.1
08 Dec 1993
This FAQ has been put together by Mark Towfiq, with much-appreciated
assistance from Jay Allard, Bruce Backman, Paul Brooks, Martin Hall,
Simon Hewison, Mike Morse, Bob Quinn, Ed Schwalenberg, Bill Tang, Dave
Treadwell, and Fred Whiteside. If you have any modifications to this
FAQ, send them to towfiq@East.Sun.Com, and I will fold them into the
next revision.
First of all, the questions:
1. What is Windows Sockets?
2. What is the latest version?
3. When is the next rev of the specification? Why not sooner?
4. Where can I get a/the WINSOCK.DLL?
5. Why isn't there just one WINSOCK.DLL? Do I need a TCP/IP already to
use it?
6. Where can I contact Windows Sockets application and implementation
vendors? (include list of address, phone contacts)
7. Where can I get sample apps and tests?
8. Will Windows Sockets be in _____?
8.1. Will Windows Sockets be in Windows NT?
8.2. Will Windows Sockets be in Windows for Workgroups?
8.3. Will Windows Sockets be in DOS?
8.4. Will Windows Sockets be in Unix?
8.5. Will Windows Sockets be in Win32s?
9. What about standard APIs for ____?
9.1. What about standard APIs for FTP?
9.2. What about standard APIs for Telnet?
9.3. What about standard APIs for SNMP?
9.4. What about standard APIs for RPC?
9.5. What about standard APIs for TLI/XTI?
10.1. Does Windows Sockets work over protocols other than TCP/IP?
10.2. Will it?
11. Why no SOCK_RAW?
12. Why isn't it possible to share sockets between tasks?
13.1. How do I get my IP address?
13.2. Why no SIOCGIFADDR?
14. When should I use blocking vs. nonblocking sockets?
15. What about other socket options that BSD supports? Ioctls?
16. How can I get the local username?
17. Do I need to initialize the WSAData structure before calling
WSAStartup?
18. If I write a Windows Sockets program for DOS, will I be able to
communicate with a Sockets program on UNIX?
19. Is it possible to create sockets that map to a dll rather than an
application? I have tried a WSAStartup() as part of my LibMain, but
the sockets that are created are owned by the application, not by the
DLL. It would be desirable for me to have some of the sockets that
are opened have "A Global (DLL wide) Scope".
20. A *Class* of questions that could be answered are related to porting
extant BSD applications to Windows Sockets: "How to I implement the
xxxx function call in my Windows Sockets application?" (e.g. fcntl(),
readv(), etc).
21. Is there a Pascal/Visual Basic/Visual Cobol header file for Windows
Sockets?
----------------------------------------------------------------------
1. What is Windows Sockets?
Answer: The Windows Sockets specification defines a network programming
interface for Microsoft Windows which is based on the "socket" paradigm
popularized in the Berkeley Software Distribution (BSD) from the University
of California at Berkeley. It encompasses both familiar Berkeley socket
style routines and a set of Windows-specific extensions designed to allow
the programmer to take advantage of the message-driven nature of Windows.
The Windows Sockets Specification is intended to provide a single API to
which application developers can program and multiple network software
vendors can conform. Furthermore, in the context of a particular version
of Microsoft Windows, it defines a binary interface (ABI) such that an
application written to the Windows Sockets API can work with a conformant
protocol implementation from any network software vendor. This
specification thus defines the library calls and associated semantics to
which an application developer can program and which a network software
vendor can implement.
Network software which conforms to this Windows Sockets specification will
be considered "Windows Sockets Compliant". Suppliers of interfaces which
are "Windows Sockets Compliant" shall be referred to as "Windows Sockets
Suppliers". To be Windows Sockets Compliant, a vendor must implement 100%
of this Windows Sockets specification.
Applications which are capable of operating with any "Windows Sockets
Compliant" protocol implementation will be considered as having a "Windows
Sockets Interface" and will be referred to as "Windows Sockets
Applications".
2. What is the latest version?
Answer: The latest version of the specification is 1.1.
3. When is the next rev of the specification? Why not sooner?
Answer: The next rev. (2.0) will not be until towards the end of 1993. We
need 1.1 of the API to become firmly settled and implemented first.
4. Where can I get a/the WINSOCK.DLL?
Answer: You can most probably get one from the same place you got your
TCP/IP software from.
5. Why isn't there just one WINSOCK.DLL? Do I need a TCP/IP already
to use it?
Answer: The Windows Sockets specification defines the top level of the DLL,
the part which is called by user programs. The method a given WINSOCK.DLL
will use to access TCP/IP (or NetWare, or AppleTalk, or DECNet ...) depends
on the networking package you have installed, and therefore must vary. A
WINSOCK.DLL is therefore just an interface to whatever existing protocol
you already have installed. An illustration would help:
+---------------------------------+
| WinSock compliant application |
+---------------------------------+
+---------------------------------+ <--- WinSock API
| Windows Sockets DLL |
+---------------------------------+
+---------------------------------+ <--- Protocol Stack API
| Protocol Stack (e.g. TCP/IP) | (typically proprietary)
+---------------------------------+
+---------------------------------+ <--- Hardware Driver API
| Hardware Driver | (Packet Driver, NDIS, ODI,
+---------------------------------+ or proprietary)
+---------------------------------+ <--- Hardware Interface
| Network (hardware) Interface | (hardware specific)
+---------------------------------+
|
+----> network
6. Where can I contact Windows Sockets application and implementation
vendors? (include list of address, phone contacts)
Answer:
Date: Tue, 6 Apr 93 12:53:37 PDT
From: tang@documentum.com (Bill Tang)
To: winsock@Microdyne.COM
Subject: vendor list (long)
Thanks to all that responded to my previous inquiry of vendor
implementations. I am posing a summary and will keep the list updated
if I receive more information.
-------------------------------------------------------------------------
SUMMARY
-------------------------------------------------------------------------
(old list at 11/23/92)
Company BETA FINAL Update (4/6/93)
-------------------------------------------------------------------------
3Com Corp Q1'93 Q2'93 ?
Beame & Whiteside Q2'93 Shipping Shipping v1.1 DLL with stack
Distinct Corp Q3'92 Shipping ?
FTP Software Q4'92 Shipping shipping v1.1 TCP/IP stack
with DLL; DLL
available on BBS or
anonymous-ftpable on
vax.ftp.com;
Development Kit being
updated to include
v1.1 Windows Sockets
support.
Frontier Tech Q3'92 Shipping ?
IBM Q4'92 Q1'92 ?
JSB Corporation Q4'92 Q4'92 ?
Lan Design Q4'92 Q1'93 ?
Lanera Corp Shipping v1.1 TCP/IP stack
Microdyne Q4'92 Q1'93 ?
Microsoft(W NT 32b) Q3'92 Q2'93 Win32 SDK March release
Microsoft(W NT 16b) Q4'92 Q2'93 Win32 SDK March release
Microsoft(W 3.x 16b) Q4'92 Q2'93 ?
NetManage Q4'92 Q4'92 shipping v1.1 DLL
Network Research ? ? ?
Novell ? ? ?
Spry (stack) supports Winsock v1.1
Sun Microsystems Q4'92 1stHalf'93 ?
Ungermann Bass ? ? v1.1 TCP/IP stack and DLL:
Beta Q1'93, Final Q2'93
Walker Richer Quinn Q4'92 Q1'93 ?
Wollongong Q4'92 Q1'93 ?
7. Where can I get sample applications and tests?
Answer: Files and information related to the Windows Sockets API are
available via FTP (user: "anonymous", password: your e-mail address)
on the host SunSite.UNC.EDU, in /pub/micro/pc-stuff/ms-windows/winsock.
Note: if you do not have FTP access to the Internet, send a message
with the word "help" in the body to either ftpmail@SunSite.UNC.Edu, or
ftpmail@DECWRL.DEC.Com (in the UK mail to ftpmail@doc.ic.ac.uk), to
obtain information about the FTP to Mail service there.
8. Will Windows Sockets be in _____?
8.1. Will Windows Sockets be in Windows NT?
Answer: Yes. In 16 and 32-bit versions.
8.2. Will Windows Sockets be in Windows for Workgroups?
Answer: Yes.
8.3. Will Windows Sockets be in DOS?
Answer: Paul Brooks of TurboSoft (paul@abccomp.oz.au) tells me:
As for a Windows Sockets for DOS - we have a library that is
pretty much complete. The goal was to produce a DOS library and
Binary API which would allow developers to code applications using
the Windows Sockets 1.1 spec. and have it run exactly the same
under DOS as Windows - blocking and non-blocking modes,
Asynchronous calls, the works. Apart from some AsyncGetXXXbyYYY
calls the rest works, although it is not possible to capture all
the Windows-specific semantics of some areas.
I am sure you can contact him for more information. JSB also has a
standardized Berkeley Sockets API for DOS which provides access to all
TCP/IP implementations.
8.4. Will Windows Sockets be in UNIX?
Answer: Well, since it came from BSD UNIX, there's not much need.
8.5. Will Windows Sockets be in Win32-S?
Answer: Yes, Win32s 1.1 contains a thunking layer that converts 32-bit
Windows Sockets calls to 16-bit Windows Sockets. It should work on
top of any 16-bit WINSOCK.DLL.
9. What about standard APIs for ____?
9.1. What about standard APIs for FTP?
Answer: Not yet.
9.2 What about standard APIs for Telnet?
Answer: Not yet.
9.3 What about standard APIs for SNMP?
Answer: In the works. Send e-mail to listserv@SunSite.UNC.EDU with
"subscribe winsnmp" in the body of the message to join the list.
9.4 What about standard APIs for RPC?
Answer: Microsoft will be providing an implementation of DCE RPC. Also in
the works is the definition of a standard implementation of ONC RPC (known
as RPC for Windows) which will be made available by multiple vendors. To
contribute to the discussion, send email to rpc4win@wco.ftp.com.
9.5 What about standard APIs for TLI/XTI?
Answer: No, not yet. Vendors chose to do Windows Sockets because of the
sockets application and knowledge base, however anyone out there is free to
try a Windows TLI/XTI Specification.
10.1. Does Windows Sockets work over protocols other than TCP/IP?
Answer: Yes, it does. But we know of no vendors supplying one currently.
10.2. Will it?
Answer: Yes. Windows NT will include mechanisms for multiple protocol
support in Windows Sockets, both 32-bit and 16-bit.
11. Why no SOCK_RAW?
Answer: SOCK_RAW is optionally implemented by many major Windows Sockets
vendors. It is not mandated now because: 1) not every stack vendor can
supply a complete SOCK_RAW interface, and 2) we did not have time to define
the minimal subset every vendor could provide (e.g. maybe just ICMP).
12. Why isn't it possible to share sockets between tasks?
Answer: The real answer is that it wasn't considered sufficiently important
for 1.1, but is high on the list for inclusion in 2.0.
13.1. How do I get my IP address?
Answer: Do a gethostbyname() on the output from gethostname().
13.2. Why no SIOCGIFADDR?
Answer: It was not included because there were concerns it could not be
supported across platforms. It may be included in version 2.0 of the spec.
14. When should I use blocking vs. non-blocking sockets?
Answer: Try to use non-blocking sockets whenever possible; certainly if you
are coding a Windows application from scratch. Blocking sockets should
only be used when trying to maintain portability between UNIX/MS-DOS and
Windows.
15. What about other socket options that BSD supports? Ioctls?
Answer: Some vendors may support them. Do not rely on ones not explicitly
mentioned in the specification, however.
16. How can I get the local username?
Answer: Based on a suggestion from Simon Hewison
(p0063886@cs3.oxford-brookes.ac.uk), one idea is to call WNetGetUser()
in the NETWORK.DRV. If a vendor has supplied a NETWORK.DRV then this
will work, if not you can just use some other method. Thus you could
write a bit of code thus:
WNetGetUser(szNetUserId,sizeof(szNetUserId);
if (strlen(szNetUserId)==0) {
/* call some other method of getting
userid, eg. the lan manager call NetWkstaGetInfo */
}
Information on this API call is in the Windows Device Driver Adaption
Guide.
17. Do I need to initialize the WSAData structure before calling
WSAStartup?
Answer: No, WSAStartup does not retrieve the contents of the WSAData
structure pointed to, it fills it in.
18. If I write a Windows Sockets program, will I be able to communicate
with a Sockets program on UNIX or any other non Windows platform?
Answer: Absolutely! This common question is the result of confusing
protocols with the APIs; communicating programs need not have been
created with the same APIs, as long as they are using the same
(transport & network) protocols.
19. Is it possible to create sockets that map to a dll rather than an
application? I have tried a WSAStartup() as part of my LibMain, but the
sockets that are created are owned by the application, not by the DLL. It
would be desirable for me to have some of the sockets that are opened have
"A Global (DLL wide) Scope".
Answer: The way this situation has been dealt with by developers is to have
your DLL create a "helper process" which will perform all Windows Sockets
operations on behalf of your applications (thereby having all sockets owned
by the helper process' task).
20. A *Class* of questions that could be answered are related to porting
extant BSD applications to Windows Sockets: "How to I implement the xxxx
function call in my Windows Sockets application?" (e.g. fcntl(), readv(),
etc).
Answer: In general, you will have to code such functions yourself, although
it would not hurt to suggest them for the next revision of the
specification as well.
21. Is there a Pascal/Visual Basic/Visual Cobol header file for Windows
Sockets?
Answer: The Pascal and Visual Basic forms are already in the FTP
archive. Look there for any other header files that people may have
developed so far. It should be pointed out that not all the Winsock
functions can be called from Visual Basic and the subset that can be
called are not really enough for a true app (for example, you can't
call gethostbyname()). To use Winsock from VB requires a translation
DLL that will probably have to be written in C. To date, there is no
public domain implementation, although several vendors have announced
toolkits for Winsock for VB.